package edu.je.prs.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description:
 * @author: Anhlaidh
 * @date: 2021-03-30 20:04
 */
@Data
public class  FrequencyArraysVo {
    @JSONField(name = "xdata")
    String[] xdata;
    @JSONField(name = "ydata")
    yData ydata;

    public FrequencyArraysVo(String[] xdata, yData ydata) {
        this.xdata = xdata;
        this.ydata = ydata;
    }

    @Data
    public static class yData{
        Integer[] ydata1;

        public yData(Integer[] ydata1) {
            this.ydata1 = ydata1;
        }
    }
}
